home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 8 / FM Towns Free Software Collection 8.iso / t_os / artemis / artsrc2 / gscrzoom.asm < prev    next >
Assembly Source File  |  1994-06-01  |  863b  |  61 lines

  1. ;    私製ライブラリ・グラフィック篇
  2. ;    (c) MATSUUCHI Ryosuke in Dec,1992
  3. ;
  4. ;    gscrzoom.asm
  5. ;
  6. ;    1992.12.28(Sun)
  7.  
  8.  
  9.         public    gscrzoom, _gscrzoom
  10.  
  11.         include    grplib.inc
  12.  
  13.         assume    cs:cseg, ds:dseg
  14.  
  15.  
  16. dseg segment dword 'DATA'
  17. dseg ends
  18.  
  19.  
  20.  
  21. cseg segment dword 'CODE'
  22.  
  23. ;---------------------------------------------------------------
  24. ;    _gscrzoom : 画面の拡大率の設定(現在の書き込みページ)
  25. ;        in  AH,AL:拡大率
  26. ;
  27. ;    void    gscrzoom(int xrate, int yrate);
  28. ;---------------------------------------------------------------
  29.  
  30. gscrzoom    proc
  31.         push    ebx
  32.         mov    ah,2
  33.         mov    al,2    ;画面の拡大
  34.         mov    dx,[esp+8]
  35.         mov    bx,[esp+12]
  36.         call    _callEGB
  37.         pop    ebx
  38.         ret
  39. gscrzoom    endp
  40.  
  41.  
  42.  
  43. _gscrzoom    proc
  44.         pushad
  45.         xor    dx,dx
  46.         xor    bx,bx
  47.         mov    dl,ah
  48.         mov    bl,al
  49.         mov    al,2
  50.         mov    ah,02h
  51.         call    _callEGB
  52.         popad
  53.         ret
  54. _gscrzoom    endp
  55.  
  56.  
  57.  
  58. cseg ends
  59.  
  60. end
  61.